#define _CRT_SECURE_NO_WARNINGS 1
#include "SList.h"

void TestSList1()
{
	SLTNode* plist = NULL;
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 2);
	SLTPushBack(&plist, 3);
	SLTPushBack(&plist, 4);

	SLTPrint(plist);
}

void TestSList2()
{
	SLTNode* plish = NULL;
	SLTPushFront(&plish, 1);
	SLTPushFront(&plish, 2);
	SLTPushFront(&plish, 3);
	SLTPushFront(&plish, 4);

	SLTPrint(plish);
}

//int main()
//{
//	TestSList1();
//	return 0;
//}

int main()
{
	TestSList2();
}